﻿using System.Collections.Generic;
using ControleRepresentante.Logic.Models;
using WebSite.ViewModels.Fields;

namespace WebSite.ViewModels.ViewModelExtensions.DetailsViewModelExtensions
{
    public class FabricaJolitexDetailsViewModel : JolitexDetailsViewModel<Fabrica>
    {
        protected override IEnumerable<IField> GetGeralAdditionalFields(Fabrica model)
        {
            yield return new LabelField("Jolitex", "jolitex", model.FabricaJolitex.IsJolitex);
        }
    }
}